/* 配置面板样式 */
.config-panel {
    margin-top: 2rem;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.config-section {
    margin-bottom: 2rem;
}

.config-section h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.1rem;
}

.config-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
}

.config-item:hover {
    background: #e9ecef;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 25px;
    background: #ccc;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: #4CAF50;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
}

.toggle-switch.active::after {
    left: 27px;
}

/* 语音指示器 */
.voice-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    display: none;
    text-align: center;
    z-index: 1000;
}

.voice-indicator.active {
    display: block;
}

.pulse-animation {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f44336;
    margin: 0 auto 1rem;
    animation: pulse-voice 1.5s infinite;
}

@keyframes pulse-voice {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
} 